def text_sin(height=20):
    pi=np.pi
    x=np.linspace(0,int(4*pi),100)
    y=np.sin(x)
    y=list(y)
    for i,j in enumerate(y):
        y[i]=int(j*height)
    li=[]
    for k in range(-height,height):
        for j in y:
            if j==k:
                li.append('*')
            else:
                li.append(' ')
        for i in li:
            print(i,end='')
        li=[]
        print('')